package com.edu.system.domain;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 学生班级关系
 * 
 * @author xxxx
 * @date 2024-02-01
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class StudentClassExt
{
    private static final long serialVersionUID = 1L;

    private Long id;

    private String name;

    /** studentEID */
    private String eid;

    /** 行政班 */
    private String qualifiedClass;

    /** 教学班 */
    private String teachingClass;

    /** 选修班 */
    private String electiveClass;

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("name", getName())
            .append("eid", getEid())
            .append("qualifiedClass", getQualifiedClass())
            .append("teachingClass", getTeachingClass())
            .append("electiveClass", getElectiveClass())
            .toString();
    }
}
